* {
  margin: 0;
  padding: 0;
}
.wrap {
  width: 500px;
  height: 500px;
  position: relative;
  margin: 100px auto;
}
.wrap > div:nth-of-type(3) {
  width: 250px;
  height: 250px;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  z-index: 1;
  background-image: url(../img/xiaoguo/2.jpg);
}
.wrap > div:nth-of-type(2) {
  width: 250px;
  height: 250px;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  text-align: center;
  line-height: 250px;
  opacity: 0;
  font-size: 24px;
  z-index: 2;
  transition: all 1s linear 0s;
}
.wrap > div:nth-of-type(1) {
  width: 250px;
  height: 250px;
  position: absolute;
  top: -10px;
  left: -10px;
  z-index: 3;
  border: 10px solid #ecab18;
  border-right-color: #1ad280;
  border-bottom-color: #1ad280;
  border-radius: 50%;
  transition: all 1s ease-in-out 0s;
}
.wrap > div:nth-of-type(1):hover {
  transform: rotate(180deg);
}
.wrap > div:nth-of-type(1):hover ~ div:nth-of-type(2) {
  opacity: 1;
}
.wrap > div:nth-of-type(1):hover ~ div:nth-of-type(3) {
  opacity: 0.6;
}
